package cn.stylefeng.guns.sys.modular.tao.service;

import cn.stylefeng.guns.sys.modular.tao.entity.WxUser;
import cn.stylefeng.roses.core.reqres.response.ResponseData;

import java.util.List;
import java.util.Map;

public interface WxUserService {
    ResponseData register(Map<String, Object> map);

    ResponseData loginBypassword(Map<String, String> map);

    ResponseData loginByWx(Map<String, Object> map);

    ResponseData updateLoginPasswoed(Map<String, Object> map);

    ResponseData updateAuthentication(Map<String, Object> map);

    ResponseData updateMember(Map<String, Object> map);

    ResponseData deleteMember(Map<String, Object> map);

    ResponseData getWxUserQRCode(Map<String, Object> map);

    ResponseData findUserInfo(Map<String, Object> map);

    WxUser getUserById(String userId);

    int update(WxUser userById);

    void upgradeMember(WxUser wxuser);

    List<WxUser> memberGrade(WxUser wxuser);

    void updateaddUseMonye(String openid, double userTotal, double quotaTotal);

    void shouQuan(WxUser wxuser);

    List<WxUser> memberTime(WxUser wxuser);

    List<WxUser> grantMember(WxUser wxuser);

    List<WxUser> isGrant(WxUser wxuser);

    List<WxUser> userMoney(WxUser wxuser);
}
